import { request } from '../../request';


export function getCategories() {
    return request({
        url: `/category/list`,
        method: 'post'
      })
}
export function addTags(data:any) {
    return request({
        url: `/admin/tag/add`,
        method: 'post',
        data: data
      })
}

export function getCategoryArticles(data) {
    return axios.post("/category/article/list", data)
}


